<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script>
    function Person(name,age,sex,aaa,bbb,say){
        this.name=name;
        this.age=age;
        this.sex=sex;
        this.aaa=aaa;
        this.bbb=bbb;
        this.say=say;
        document.write(this.name+"今年"+this.age+"岁,"+"性别:"+this.sex+this.aaa+this.bbb+this.say)
    }
    var person=new Person("小明",18,"男","有男朋友","男朋友会说话","说我爱敲代码")
</script>
<body>

</body>
</html>